package com.zhengjiang.mail.biz.configure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName MailProperties
 * @Description
 * @Author zhengjiang(99514925 @ qq.com)
 * @Date 2020-05-29 16:44
 * @Version V1.0
 **/
@Data
@Component
@ConfigurationProperties(prefix = "mail")
public class MailProperties {
    private String from;
    private String to;

}
